package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoTransportOrderApproveVO;
import com.yunxi.sto.pojo.StoTransportOrderDetailVO;
import com.yunxi.sto.pojo.StoTransportOrderStockInVO;
import com.yunxi.sto.pojo.StoTransportOrderVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoTransportOrderDubboServiceMock implements  StoTransportOrderDubboService {
    @Override
    public StoTransportOrderVO getById(String id) throws Exception {
        StoTransportOrderVO vo =  new  StoTransportOrderVO();
        vo.setTransportOrderNo("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoTransportOrderVO stoTransportOrderVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoTransportOrderVO> findPageByVO(StoTransportOrderVO stoTransportOrderVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoTransportOrderVO> page =  new   PageInfo<StoTransportOrderVO>();
        List  list  =  new ArrayList();
        StoTransportOrderVO vo =  new StoTransportOrderVO();
        vo.setTransportOrderNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public PageInfo<StoTransportOrderDetailVO> detailPage(StoTransportOrderDetailVO stoTransportOrderDetailVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoTransportOrderDetailVO> page =  new   PageInfo<StoTransportOrderDetailVO>();
        List  list  =  new ArrayList();
        StoTransportOrderDetailVO vo =  new StoTransportOrderDetailVO();
        vo.setTransportOrderNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public void removeByListVo(List<StoTransportOrderVO> stoTransportOrderVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException {

    }

    @Override
    public void receive(List<String> list, String partnerCode, String userName, String userCode) throws Exception {

    }

    @Override
    public void approve(StoTransportOrderApproveVO stoTransportOrderApproveVO) throws Exception {

    }

    @Override
    public void stockIn(StoTransportOrderStockInVO stoTransportOrderStockInVO) throws Exception {

    }
}
